package com.pm.personal.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pm.entity.User;
import com.pm.personal.dao.UserDao;
@Service
public class UserBiz {
	@Autowired
	private UserDao userDao;
	
	public User findUserByPhone(String phone){
		return userDao.findUserByPhone(phone);
	}
	
	public User findUserById(int userId) {
		return userDao.findUserById(userId);
	}
	
	

}
